﻿package com.firewolf.iteratorAndComponent.iterator.common;
/**
 * 菜单项
 * @author Administrator
 *
 */
public class MyMenuItem {
	private String name ; //名称
	private String description ; //描述
	private boolean vegetarian ; //是不是素食
	private double price ; //价格
	public MyMenuItem(String name, String description, boolean vegetarian,
			double price) {
		this.name = name;
		this.description = description;
		this.vegetarian = vegetarian;
		this.price = price;
	}
	public String getName() {
		return name;
	}
	public String getDescription() {
		return description;
	}
	public boolean isVegetarian() {
		return vegetarian;
	}
	public double getPrice() {
		return price;
	}
}
